package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author jishushen
 * @create 2021-02-18 12:08
 */
public interface IDepartmentService {

    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

    PageInfo<Department> query(QueryObject qo);

    void delete(Long id);

    List<Department> listAll();
}
